import { FindOperator } from 'typeorm'

export interface WhereType {
  name?: FindOperator<string> | string
  title?: FindOperator<string> | string
  status?: number
}

export interface BaseQuery {
  page?: number
  pageSize?: number
}
export interface GenerateQuery extends BaseQuery {
  name?: string
  title?: string
  status?: number
  createDate?: Date
  updateDate?: Date
}
